#ifndef COMMON_H
#define COMMON_H

#define u8 unsigned char
#define u16 unsigned int

extern void outportb( unsigned int, char);                      // Write I/O     
extern char inportb( unsigned int );                            // Read I/O
extern void enable( void );                                     // Enable interrupt
extern void disable( void );                                    // Disable interrupt
extern void setvect( int, void interrupt(*isr)( void ) );       // Write intr-vec
extern void interrupt( far *  getvect( int __interruptno ))( ); // Read intr-vec

#endif